package com.tim.proxy;

public class AopStudyService {

	private static final AopStudyService instance = new AopStudyService();

	public static AopStudyService getInstance() {
		return instance;
	}

	public void analogRemoveInfo() throws InterruptedException {
		// 性能监测
		PerformanceMonitoring.begin("analogRemoveInfo");
		// 模拟该方法执行了200毫秒
		Thread.sleep(200);
		// 结束性能监测
		PerformanceMonitoring.end();
	}
	
	public static void main(String[] args) throws InterruptedException {
		AopStudyService.getInstance().analogRemoveInfo();
		
	}
}